type regexp/syntax.frag
28 uses
regexp/syntax (current package)
compile.go#L59: type frag struct {
compile.go#L89: func (c *compiler) compile(re *Regexp) frag {
compile.go#L99: var f frag
compile.go#L142: var f frag
compile.go#L152: var f frag
compile.go#L161: func (c *compiler) inst(op InstOp) frag {
compile.go#L163: f := frag{i: uint32(len(c.p.Inst)), nullable: true}
compile.go#L168: func (c *compiler) nop() frag {
compile.go#L174: func (c *compiler) fail() frag {
compile.go#L175: return frag{}
compile.go#L178: func (c *compiler) cap(arg uint32) frag {
compile.go#L189: func (c *compiler) cat(f1, f2 frag) frag {
compile.go#L192: return frag{}
compile.go#L198: return frag{f1.i, f2.out, f1.nullable && f2.nullable}
compile.go#L201: func (c *compiler) alt(f1, f2 frag) frag {
compile.go#L219: func (c *compiler) quest(f1 frag, nongreedy bool) frag {
compile.go#L238: func (c *compiler) loop(f1 frag, nongreedy bool) frag {
compile.go#L252: func (c *compiler) star(f1 frag, nongreedy bool) frag {
compile.go#L261: func (c *compiler) plus(f1 frag, nongreedy bool) frag {
compile.go#L262: return frag{f1.i, c.loop(f1, nongreedy).out, f1.nullable}
compile.go#L265: func (c *compiler) empty(op EmptyOp) frag {
compile.go#L272: func (c *compiler) rune(r []rune, flags Flags) frag {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |